<!DOCTYPE html>
<html>
<head>
    <title>Show PDF</title>
    <meta charset="utf-8" />
    <style type="text/css">
        html,body,#pdf_viewer{
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
        }
    </style>
</head>
<body>
    <div id="pdf_viewer"></div>
</body>
<script src="https://cdn.bootcss.com/pdfobject/2.1.1/pdfobject.min.js"></script>
<script type="text/javascript">
    window.onload = function () {
			if(PDFObject.supportsPDFs){
			    // PDF嵌入到网页
			    PDFObject.embed("http://dev.fenzhitech.com/res/64a01a7e3fe83588b5140fb173ed4537.pdf", "#pdf_viewer" );
			} else {
			    location.href = "/canvas";
			}
		}
</script>
</html>